package com.lzx.reggie.entity

import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.TableField
import java.io.Serializable
import java.time.LocalDateTime

/**
 * 员工实体
 */
data class Employee(
    var id: Long?=null,
    var username: String?=null,
    var name: String?=null,
    var password: String?=null,
    var phone: String?=null,
    var sex: String?=null,
    var idNumber: String?=null,
    var status: Int?=null,
    @TableField(fill = FieldFill.INSERT)
    var createTime: LocalDateTime?=null,
    @TableField(fill = FieldFill.INSERT_UPDATE)
    var updateTime: LocalDateTime?=null,
    @TableField(fill = FieldFill.INSERT)
    var createUser: Long?=null,
    @TableField(fill = FieldFill.INSERT_UPDATE)
    var updateUser: Long?=null
):Serializable{
    companion object{
        private const val serialVersionUID = 1L
    }
}